Each testis is surrounded by a thick fibrous capsule (tunica albuginea), lies in the scrotum and is composed of many small, thin, coiled tubes (called seminiferous tubules) packed into over 250 sections, or lobules.
Sperm is formed within these coiled tubules, then migrates to enter the straight tubules that make up the rete testis and the epididymis. These straight tubes then converge into one larger tube, the spermatic cord. From its attachment to the upper end of the testis, the spermatic cord travels upward to enter into the body cavity through an opening called the inguinal ring (the area where inguinal hernias occur). From there the cord goes through the prostate, where it ends in the penile section of the urethra.